package com.system.service;

import com.system.entity.PageBean;
import com.system.entity.Question;
import org.springframework.stereotype.Service;

@Service
public interface QuestionService {
    void addQuestion(Question question);

    PageBean findByPage(Question question, int pageCode, int pageSize);

    void deleteQuestion(Integer id);

    void deleteQuestionByIds(Integer[] ids);

    Question findById(int id);

    void updateQuestion(Question question);
}
